﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Benefit.Models.ServerData
{
    public class T_Exchange
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 交易所名称
        /// </summary>
        public string ExchangeName { get; set; }
        /// <summary>
        /// 午盘开盘时间
        /// </summary>
        public string NoonStartTime { get; set; }
        /// <summary>
        /// 午盘休市时间
        /// </summary>
        public string NoonEndTime { get; set; }
        /// <summary>
        /// 收盘时间
        /// </summary>
        public string CloseTime { get; set; }
        /// <summary>
        /// 开盘时间
        /// </summary>
        public string OpenTime { get; set; }
        /// <summary>
        /// 交易所代码
        /// </summary>
        public string ExchangeID { get; set; }


        ///// <summary>
        ///// 得到所有交易所
        ///// </summary>
        ///// <returns></returns>
        //public List<T_Exchange> GetList()
        //{
        //    List<T_Exchange> exchanges = new List<T_Exchange>();
        //    List<object> objs = Common.ADO.DBManager.GetList(new T_Exchange());
        //    foreach (T_Exchange ec in objs)
        //    {
        //        exchanges.Add(ec);
        //    }
        //    return exchanges;
        //}
    }
}
